package net.blank.world.world2D.business.unit
{
	import net.blank.functionUtl.FunctionBinder;
	import net.blank.world.world2D.template.unit.Organics_tmp;

	/**
	 * 有机物
	 * @author blank
	 * 
	 */
	public class Organics extends MovableObject
	{
		/**
		 * 增加的智力
		 */
		private var _addIntellectPoint:int;
		
		/**
		 * <font color=#0000ff>[可绑定]</font>增加的智力
		 * @param value
		 * 
		 */
		public function setAddIntellectPoint(value:int):void{
			if(value != _addIntellectPoint){
				_addIntellectPoint=value;
				
				FunctionBinder.execCallbackFun(setAddIntellectPoint,[this]);
			}
		}
		
		/**
		 * 增加的智力
		 * @return 
		 * 
		 */
		public function getAddintellectPoint():int{
			return _addIntellectPoint;
		}
		
		/**
		 * 增加的力量
		 */
		private var _addStrengthPoint:int;
		
		/**
		 * <font color=#0000ff>[可绑定]</font>增加的力量
		 * @param value
		 * 
		 */
		public function setAddStrengthPoint(value:int):void{
			if(value != _addStrengthPoint){
				_addStrengthPoint=value;
				
				FunctionBinder.execCallbackFun(setAddStrengthPoint,[this]);
			}
		}
		
		/**
		 * 增加的力量
		 * @return 
		 * 
		 */
		public function getAddStrengthPoint():int{
			return _addStrengthPoint;
		}
		
		/**
		 * 增加的敏捷
		 */
		private var _addAgilityPoint:int;
		
		/**
		 * <font color=#0000ff>[可绑定]</font>增加的敏捷
		 * @param value
		 * 
		 */
		public function setAddAgilityPoint(value:int):void{
			if(value != _addAgilityPoint){
				_addAgilityPoint=value;
				
				FunctionBinder.execCallbackFun(setAddAgilityPoint,[this]);
			}
		}
		
		/**
		 * 增加的敏捷
		 * @return 
		 * 
		 */
		public function getAddAgilityPoint():int{
			return _addAgilityPoint;
		}
		
		/**
		 * 有机物
		 * @param template
		 * 
		 */
		public function Organics(template:Organics_tmp)
		{
			super(template);
		}
	}
}